package com.patterns.builder.commonBuilder;

import com.patterns.builder.commonBuilder.builder.AbstractBuilder;
import com.patterns.builder.commonBuilder.builder.ConcreteProduct;
import com.patterns.factory.LazyFactory.Prodect;

/**
 * Created by Xiao Yiyun on 2017/4/21.
 */
public class Director {
    private AbstractBuilder builder = new ConcreteProduct();
    public Prodect getAProduct() {
        builder.setPart();
        return builder.buildProduct();
    }
}
